@import url("main_styling.css");



.projects_head {
    margin-top: 10rem;
    margin-inline: 3rem;
    font-size: xx-large;
    letter-spacing: 1rem;
}


/*ALL PROJECTS*/


.all_projects {
    position: relative;
    width: 90%;
    height: auto;

    margin-block: 4rem;


    display: -webkit-box;


    display: -ms-flexbox;


    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.all_projects_content {
    position: relative;
    width: 20rem;
    height: 10rem;
    margin: 2rem;
    border: 1px solid rgba(255, 255, 255, 0);
    border-radius: var(--borderradius_small_images);

    display: -webkit-box;

    display: -ms-flexbox;

    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;

    -webkit-transition: 1s;

    -o-transition: 1s;

    transition: 1s;
}

.all_projects_img {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--borderradius_small_images);

    background-size: cover;
    background-position: center;
    overflow: hidden;

    -webkit-transition-duration: 3s;

         -o-transition-duration: 3s;

            transition-duration: 3s;
    -webkit-transition-delay: 1s;
         -o-transition-delay: 1s;
            transition-delay: 1s;
}

.hide_blurred_overflow {
    overflow: hidden;
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--borderradius_small_images);
}

#all_projects_img_shadow {
    z-index: -1;
    overflow: visible;
    opacity: 1;
    -webkit-filter: brightness(5) contrast(1.3) blur(3px) saturate(0.8);
            filter: brightness(5) contrast(1.3) blur(3px) saturate(0.8);

    -webkit-transition-property: opacity, -webkit-filter;

    transition-property: opacity, -webkit-filter;

    -o-transition-property: opacity, filter;

    transition-property: opacity, filter;

    transition-property: opacity, filter, -webkit-filter;
    -webkit-transition-duration: 3.5s, 0s;
         -o-transition-duration: 3.5s, 0s;
            transition-duration: 3.5s, 0s;
    -webkit-transition-delay: 3s, 1.5s;
         -o-transition-delay: 3s, 1.5s;
            transition-delay: 3s, 1.5s;
}

.galery_content_header {
    text-align: center;
    opacity: 0%;
    font-size: x-large;
    font-weight: 500;
    letter-spacing: 0rem;
    text-indent: 0rem;
    text-shadow: 0 0 2px white;
    text-shadow: 0 0 2px white;

    -webkit-transition-property: opacity, letter-spacing, font-weight, text-indent;

    -o-transition-property: opacity, letter-spacing, font-weight, text-indent;

    transition-property: opacity, letter-spacing, font-weight, text-indent;
    -webkit-transition-duration: 2s, 2s, 1.5s, 2s;
         -o-transition-duration: 2s, 2s, 1.5s, 2s;
            transition-duration: 2s, 2s, 1.5s, 2s;
    -webkit-transition-delay: 1s, 1s, 1.5s, 1s;
         -o-transition-delay: 1s, 1s, 1.5s, 1s;
            transition-delay: 1s, 1s, 1.5s, 1s;
    -webkit-transition-timing-function: ease;
         -o-transition-timing-function: ease;
            transition-timing-function: ease;
}

.all_projects_content:hover {
    border: 1px solid rgba(255, 255, 255, 1);
}

.all_projects_content:hover .all_projects_img {
    -webkit-transition-duration: 0.5s;
         -o-transition-duration: 0.5s;
            transition-duration: 0.5s;
    -webkit-transition-delay: 0s;
         -o-transition-delay: 0s;
            transition-delay: 0s;
    -webkit-filter: blur(.4rem) contrast(.9) brightness(.5);
            filter: blur(.4rem) contrast(.9) brightness(.5);
}

.all_projects_content:hover #all_projects_img_shadow {
    opacity: 0;
    -webkit-filter: brightness(5) contrast(1.3) blur(20px) saturate(0);
            filter: brightness(5) contrast(1.3) blur(20px) saturate(0);
    -webkit-transition-duration: 1s, 1s;
         -o-transition-duration: 1s, 1s;
            transition-duration: 1s, 1s;
    -webkit-transition-delay: 0s, 0s;
         -o-transition-delay: 0s, 0s;
            transition-delay: 0s, 0s;
}

.all_projects_content:hover .galery_content_header {
    text-align: center;
    opacity: 100%;
    font-weight: 300;
    letter-spacing: 1rem;
    text-indent: 1.5rem;
    -webkit-transition-duration: 1s, 1.5s, 1s, 1.5s;
         -o-transition-duration: 1s, 1.5s, 1s, 1.5s;
            transition-duration: 1s, 1.5s, 1s, 1.5s;
    -webkit-transition-delay: 0s, 0s, 0s, 0s;
         -o-transition-delay: 0s, 0s, 0s, 0s;
            transition-delay: 0s, 0s, 0s, 0s;
}


@media screen and (max-device-width: 1000px) {

    .all_projects_content {
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .all_projects_img {
        -webkit-filter: blur(1px) contrast(.9) brightness(.5);
                filter: blur(1px) contrast(.9) brightness(.5);
    }

    #all_projects_img_shadow {
        -webkit-filter: brightness(5) contrast(1.4) blur(6px) saturate(0.9);
                filter: brightness(5) contrast(1.4) blur(6px) saturate(0.9);
    }

    .galery_content_header {
        text-align: center;
        font-size: x-large;
        opacity: 100%;
        font-weight: 300;
        letter-spacing: 1rem;
        text-indent: 1.5rem;
    }

    .all_projects_content:hover {
        border: 1px solid rgba(255, 255, 255, 0.4);
    }

    .all_projects_content:hover .all_projects_img {
        -webkit-filter: blur(1px) contrast(.9) brightness(.5);
                filter: blur(1px) contrast(.9) brightness(.5);
    }

    .all_projects_content:hover #all_projects_img_shadow {
        opacity: 100%;
        -webkit-filter: brightness(5) contrast(1.4) blur(6px) saturate(0.9);
                filter: brightness(5) contrast(1.4) blur(6px) saturate(0.9);
    }

    .all_projects_content:hover .galery_content_header {
        opacity: 100%;
        font-weight: 300;
        letter-spacing: 1rem;
        text-indent: 1.5rem;
    }
}